<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>


    <!-- header -->
    <style>
        header.page-header {
            background: no-repeat left/cover url(./media/examples/puppy-header-logo.jpg);
            display: flex;
            height: 120px;
            min-width: 120px;
            align-items: center;
            color: #fff;
            text-shadow: #000 0 0 .2em;
        }

        header.page-header>h1 {
            font: bold calc(1em + 2 * (100vw - 120px) / 100) 'Dancing Script', cursive,
                fantasy;
            margin: 2%;
        }

        main {
            font: 1rem 'Fira Sans', sans-serif;
        }
    </style>
</head>

<body>

    <!-- header -->
    <!-- HTML <header> 元素用于展示介绍性内容，通常包含一组介绍性的或是辅助导航的实用元素。它可能包含一些标题元素，但也可能包含其他元素，比如 Logo、搜索框、作者名称，等等。 -->
    <header>
        <h1>Book Your Hotel</h1>
        <p>An easy way of bookinghotels</p>
    </header>


    <header class="page-header">
        <h1>Cute Puppies Express!</h1>
    </header>

    <main>
        <p>I love beagles <em>so</em> much! Like, really, a lot. They’re adorable and their ears are so, so snuggly
            soft!</p>
    </main>


</body>

</html>